list = [1,2,1,3,5,5]
list1 = []
for  i in list:
    if i not in list1:
        list1.append(i)
print(list1)


with open("./text.txt") as f:
    data_list = [tuple([int(j.strip()for j in i.split(","))])for i in f.readlines()]
print(data_list)
